package com.p2p.auth.domain.dto.article;

import com.p2p.auth.common.enums.ArticleStatus;
import com.p2p.auth.common.enums.ArticleType;
import io.swagger.annotations.ApiModelProperty;

/**
 *
 * @author anti
 * @date 2016-11-16
 */
public class ArticleUpdateDTO{

    @ApiModelProperty(value = "文章Id")
    private Long id;

    @ApiModelProperty(value = "文章标题")
    private String title;

    @ApiModelProperty(value = "文章类型")
    private ArticleType type = ArticleType.NONE;

    @ApiModelProperty(value = "文章状态")
    private ArticleStatus status = ArticleStatus.DRAFT;

    @ApiModelProperty(value = "文章摘要")
    private String summary;

    @ApiModelProperty(value = "文章正文")
    private String content;

    @ApiModelProperty(value = "文章作者")
    private String author;

    @ApiModelProperty(value = "文章来源")
    private String source;

    @ApiModelProperty(value = "文章UUID")
    private String uuid;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public ArticleType getType() {
        return type;
    }

    public void setType(ArticleType type) {
        this.type = type;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public ArticleStatus getStatus() {
        return status;
    }

    public void setStatus(ArticleStatus status) {
        this.status = status;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }
}
